﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
namespace Snake {
    public class OnHit : MonoBehaviour {
        //public UnityEvent listEvent;
        private void OnTriggerEnter2D(Collider2D collision) {
            Debug.Log("Hit:" + collision.name);
        }
    }
}
